import 'package:safetymonitor/generated/json/base/json_field.dart';
import 'package:safetymonitor/generated/json/enterprise_information_get_entity.g.dart';
import 'dart:convert';
export 'package:safetymonitor/generated/json/enterprise_information_get_entity.g.dart';

@JsonSerializable()
class EnterpriseInformationGetEntity {
	late int id = 0;
	late String createTime = '';
	late int companyId = 0;
	late String enterpriseName = '';
	late String enterpriseAddress = '';
	late String creditCode = '';
	late String registeredCapital = '';
	late String securityManager = '';
	late String securityManagerNumber = '';
	late String enterpriseWeb = '';
	late String legalRepresentative = '';
	late String legalRepresentativeNumber = '';
	late int industryId = 0;
	late String industryName = '';
	late String businessLicense = '';
	late String businessTermStart = '';
	late String businessTermEnd = '';
	late int businessTermRemind = 0;
	late int businessRemindId = 0;
	late String businessRemindName = '';
	late String securotyLicense = '';
	late String securotyTermStart = '';
	late String securotyTermEnd = '';
	late int securotyTermRemind = 0;
	late int securotyRemindId = 0;
	late String securotyRemindName = '';
	late String dangerLicense = '';
	late String dangerTermStart = '';
	late String dangerTermEnd = '';
	late int dangerTermRemind = 0;
	late int dangerRemindId = 0;
	late String dangerRemindName = '';
	late String safetyProductionName = '';
	late String safetyProductionCode = '';
	late int businessPushPersonnelId = 0;
	late int securotyPushPersonnelId = 0;
	late int dangerPushPersonnelId = 0;
	late int businessPushDeptId = 0;
	late int securotyPushDeptId = 0;
	late int dangerPushDeptId = 0;
	late List<EnterpriseInformationGetInformationDOList> informationDOList = [];

	EnterpriseInformationGetEntity();

	factory EnterpriseInformationGetEntity.fromJson(Map<String, dynamic> json) => $EnterpriseInformationGetEntityFromJson(json);

	Map<String, dynamic> toJson() => $EnterpriseInformationGetEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class EnterpriseInformationGetInformationDOList {
	late String createTime = '';
	late String updateTime = '';
	late String creator = '';
	late String updater = '';
	late bool deleted = false;
	late int id = 0;
	late String certificateName = '';
	late String beginTime = '';
	late String endTime = '';
	late int termRemind = 0;
	late int pushId = 0;
	late int remindId = 0;
	late String managementPicture = '';
	late int staffId = 0;
	late int informationId = 0;
	late int deptId = 0;
	late String pushName = '';

	EnterpriseInformationGetInformationDOList();

	factory EnterpriseInformationGetInformationDOList.fromJson(Map<String, dynamic> json) => $EnterpriseInformationGetInformationDOListFromJson(json);

	Map<String, dynamic> toJson() => $EnterpriseInformationGetInformationDOListToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}